get_filename_component(RTK_PACKAGE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

get_filename_component(_TEMP "${RTK_PACKAGE_DIR}" PATH) # lib/cmake
get_filename_component(_TEMP "${_TEMP}" PATH) # lib
get_filename_component(RTK_INSTALL_PATH "${_TEMP}" PATH)

@RTK_EXPORT_CODE_BUILD@

set(RTK_INCLUDE_DIRS "@RTK_INCLUDE_DIRS@")
set(RTK_LIBRARY_DIRS "@RTK_LIBRARY_DIRS@")
set(RTK_LIBRARIES "itk@RTK_LIBRARIES@-@ITK_VERSION_MAJOR@.@ITK_VERSION_MINOR@")

# The location of the UseRTK.cmake file.
if(NOT ${ITK_FOUND})
  set(ITK_DIR "@ITK_DIR@")
endif()
set(RTK_USE_FILE "@RTK_USE_FILE@")

